Build as static library