Adding shared library compilation to makefiles (make sharedlib && sudo make install)