Sync STDOUT, only necessary on Windows machines