pass module.exports rather than exports

makePublicAPI needs to receive require, exports, and module in that order to work with AMD.

since isNode tests for module and module.exports, pass module.exports to makePublicAPI to avoid needing to test for
exports as well.