Defines AMD module if we're in AMD-land.

:package: