Add windows application icon

Add the windows application icon for cmake builds
Tweaks to CMakeLists.txts for successful builds
Hide windows console when running
Testing mac cmake commands