Fix for Windows builds (rlimit doesn't exist on Windows).