Update to the makefile for static linking on linux.  HDF5 seems to not work otherwise.