Fixed no-gui branch and updated CMakeLists.txt with additional windows d...

...ependencies