Improve OSX flags