Add TCMalloc support
Set HAVE_LAPACK if only lapack and blas has been found
Disable c++11 mode on cygwin if unit testing is enabled