Fix anonymous AMD builds.

Currently, we are always passing the moduleName to the Compiler which it then
interprets as non-anonymous.

This came up while attempting to fix the Handlebars AMD builds (they
currently ignore the `anonymous: true` option that is specified in the
Gruntfile).