Fix build for OS X 10.9 Mavericks and Xcode 5 DP