Updating makefile to ensure shared object creation