add osx support
building on windows
Merge pull request #1 from kirkshoop/xplat

Adding support for OSX platform