Fixed error for building it on OSX 10.8.4
Merge pull request #2 from whatsbcn/master

Fixed error for building it on OSX 10.8.4