Improve the lapack library build

* Also build the shared library and the C binding.

Closes #209.

Signed-off-by: Xiyue Deng <manphiz@gmail.com>