fixed, restore search_paths_first in platform_ldflags only to avoid gcc warning spew of 'linker input file unused because linking not done'