Revert "Fix profile build for gcc on Mac OSX"