[Makefile] added shared lib support;