modify Makefile for .so