started on fixing compile errors with MSVC
Merge pull request #98 from anakota/master

started on fixing compile errors with MSVC