consistent naming of CHECK_* preprocessor defines
add missing header inclusion
link missing LAPACK/BLAS libraries

test_slha_io.x uses routines from linalg2.{hpp,cpp} and therefore
the LAPACK/BLAS libraries need to be linked.