build lib only