Add amdefine dependency