Shared object rule in makefile