Fix AMD compatibility with almond loader