Handle missing standard input more gracefully on Windows.