Build and install static versions of the libraries