Remove Console Window

Added to CMakeLists.txt to generate platform specific executables without generating console windows.