CMake LAPACK/FortranC

Added checks in CMake for the LAPACK library and to determine the correct way to mangle names between Fortran and C.