include amdefine to make it work in node env
Release 1.1.7