OSX 10.9 compiler errors turned to warnings