Fixed issue with amdefine not liking previous copies of itself.