Added shared object target to makefile