added proper lapack check to address issue #2291
Merge pull request #2292 from lambday/develop

added proper lapack check to address issue #2291