 diff -ruN netcdf-4.3.2/CMakeLists.txt netcdf-4.3.2-new/CMakeLists.txt
 --- netcdf-4.3.2/CMakeLists.txt	2014-04-23 15:35:20.000000000 -0600
-+++ netcdf-4.3.2-new/CMakeLists.txt	2015-01-01 17:26:35.000000000 -0700
-@@ -596,7 +596,7 @@
++++ netcdf-4.3.2-new/CMakeLists.txt	2015-12-13 10:37:28.858079100 -0700
+@@ -366,9 +366,12 @@
+     CMAKE_C_FLAGS_DEBUG
+     CMAKE_C_FLAGS_MINSIZEREL
+     CMAKE_C_FLAGS_RELWITHDEBINFO
++    CMAKE_C_FLAGS_RELEASE
+     CMAKE_CXX_FLAGS CMAKE_CXX_FLAGS_DEBUG
+     CMAKE_CXX_FLAGS_RELEASE CMAKE_CXX_FLAGS_MINSIZEREL
+-    CMAKE_CXX_FLAGS_RELWITHDEBINFO)
++    CMAKE_CXX_FLAGS_RELWITHDEBINFO
++    CMAKE_CXX_FLAGS_RELEASE
++  )
+ 
+   FOREACH(flag_var ${vars})
+     IF(${flag_var} MATCHES "/MD")
+@@ -596,7 +599,7 @@
    # .cmake files.  If this is the case, they should
    # specify HDF5_HL_LIB, HDF5_LIB, HDF5_INCLUDE_DIR manually.
    IF(HDF5_LIB AND HDF5_HL_LIB AND HDF5_INCLUDE_DIR)

   ENDIF()
diff -ruN netcdf-4.3.2/libsrc4/nc4file.c netcdf-4.3.2-new/libsrc4/nc4file.c
--- netcdf-4.3.2/libsrc4/nc4file.c	2014-04-23 15:35:20.000000000 -0600
+++ netcdf-4.3.2-new/libsrc4/nc4file.c	2015-01-01 17:26:24.000000000 -0700
@@ -308,12 +308,21 @@
 	 if (H5Pset_fapl_mpio(fapl_id, comm, info) < 0)
 	    BAIL(NC_EPARINIT);

 
     IF(HDF5_IS_PARALLEL_MPIPOSIX OR HDF5_IS_PARALLEL_MPIO)
       SET(HDF5_IS_PARALLEL ON)
@@ -637,16 +647,26 @@
   ENDIF(NOT MSVC)
 
   # Assert HDF5 version.
