assetgen: implement the uglify.define config directive.