configure: add linker export script support on Darwin