Fix max warning level setting on Clang on OSX.