Adds Amdefine as dependency.