make as static lib