OSX compatibility for source code.
Merge pull request #14 from ilTofa/master

OSX compatibility for source code.