Added makefile directive to build shared object.