Fix for MacOSX10.9, Xcode6