Build msm library from cabal
Add /usr/local/lib to extra-lib-dirs

libnetcdf.a is in this directory when you install it using homebrew.