fixes `anonymous: true` option

newer versions of node won't take `undefined` or
`null` in path.join();.

when `moduleName` was null the amd compiler would
trip up on it, so we set it to empty string
Merge pull request #9 from rpflorence/module-name

fixes `anonymous: true` option