HDFS-16464. Create only libhdfspp static libraries for Windows (#4571)

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