Fixed error for building it on OSX 10.8.4