Suppress warnings on OSX