Adding support for Windows builds.
Cleaning up CMake file