Adaptions on the VSS code to be able to compile it with mingw