Fix AMD loader