Fixed building on MacOSX 10.9 Mavericks