Fix messed up AMD modules order