some include guards to make compile possible when LAPACK is unavailable