build static library