VS2013, modifications to compile as  C++ and on Windows .