Lapack: build with shared libraries
Lapack cmake configure: add types of variables
Merge branch 'master' into petsc