allow compilation on OSX10.9