Fix OSX 10.8.x builds