Some changes to get things building on OS X again.

The only potential problem I see is that the previous commits turned off direct linkage of the modalMatrix library to LAPACK and BLAS. But that does not work on OS X (cmake 3.1.0, ninja 1.4). The change below works but perhaps modalMatrix should really depend on matrix and matrixIO, not just matrixIO?