Imporve the lapack library build: also build the shared library and the C binding

The original formula only builds the Fortran static library, which is very limited to use.