Support compilation on Windows using MS Visual Studio compiler ("nmake")

The pull requests supports compiling the library and the "qrtest" sample on Windows using the MS compiler.