Fix OSX 10.9 build