Statically link the just-built libs.