- Fixed compilation with Visual Studio using CMake project by using slightly modified version of the code in Zandronum's changeset 597309d.