OS X linker doesn't support -Bdynamic.