Fix amd define

The change in 7ce7054e3481d84be559931e5571fd265ef7133d to support different packaging systems didn't work with RequireJS, which is fixed here.

Original (and merged) pull request:
https://github.com/linkeddata/rdflib.js/pull/24