Enable building correclty on OS X 10.8 and 10.9.