Make sure we always build static libraries.