Fix anonymous AMD builds.

Currently, we are always passing the moduleName to the Compiler which it
then interprets as non-anonymous.
Merge pull request #2 from rjackson/fix_amd_anonymous_builds

Fix anonymous AMD builds.