add Makefile for so file