Fix amdefine stub