a couple of USE_LIB64=0 fixes