Applied patch to fix Makefile and shared lib installer