use absolute paths for require()

If relative, the path is relative to the current working directory.
So the actual paths depend on where from the file is required from.
So for all files that are used with require() themselves, make the
paths absolute.