* Added the appropriate CMake flags and commands to enable only statically linked libraries and executables to be built on Windows.