Exported the `define` and `require` symbols

Because these functions aren't explicitly exported, using this as a package (as opposed to a flat JS file in lib/compatability) gives undefined reference errors.