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