Modified cexcpt.s and makefile to build shared library