SERVER-8467 Don't pass -rdynamic on OS X

On OS X, clang ignores -rdynamic, but issues a warning, which can
be a problem if -Werror is in effect. Remove the flag because
-rdynamic is not needed on OS X.