bugfix for relative path in commonjs-style require