Update require.c so that it compiles under MinGW/Windows