Revert "Remove questionable gcc flags from profile-build"