Make $iq, $pres and $msg globals even when AMD is used