fixed compile error when lapack not installed for logdet constructor and its unit test
Merge pull request #2083 from sunil1337/lapack_fix

fixed compile error when lapack not installed for logdet constructor and its unit test