[task] Upgrade static lib to dynamic lib and improve Makefile contents