Error messages now written to stdout instead of stderr on non-windows systems