also build a static lib