Don't use -rdynamic to link on MacOS.