Fixed operation on Mac OS X
Merge pull request #1 from jonathaneunice/master

Fixed operation on Mac OS X