(OSX) Fix some warnings