Make sure the arch flags get set on OSX