If --amd is specified, the define call isn't removed for exports/amd