allow passing `require` to defaultable

as a workaround for substack/node-browserify#475