fixed static path separators in require method