Add makefile for compile .so lib