Added amdefine dependency