Windows use 'NUL' instead of '/dev/null', so added the option
to use it when running in Windows