Merge pull request #22 from bouffa/upstream

fix the build with MSVC
fix the build of the recognition module on Windows