(OSX) Get rid of some warnings