[include] prereq-build.mk: do not perform static linking tests on Darwin