Fixes to the require command so that / will be used as \ on windows.