Fix compilation under MSVC, bind some fucntions
Merge pull request #447 from conde2/master

Fix compilation under MSVC, bind some fucntions