Autodetect the availability of -export-dynamic in the linker.