(OSX) Fix OSX Mavericks build