add cmake support for vs
fix linux compile
Merge pull request #53 from MadrMan/vscmake

add cmake support for vs