Check whether the linker supports the linker flag --version-script. The OS X linkwer does not seem to support it. Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>