Fix being able to import a constructor function from a CJS style AMD mod...

...ule from an ES6 transpiled AMD module that exported it as module.exports = function Constructor(){}