Fixed deprecation warnings that show up when building against the OS X 10.9 SDK