Fixed build warnings related to OSX SDK 10.9