Resolve the relative path to lib files last

This allows usage of UglifyJS on build systems which have a flat (or non-matching relative) directory structure for source files.