Get math/netcdf to compile.

Switch to including <string.h> instead of <string> in math/netcdf.