fix(AMD support): add define definition