Add a way to build static libraries