Fix of Windows build configuration and cleaning of code

* Re-introduced specific Windows options for CMake
* Cleaned code
* Cleaned meta-information