Get the sample working on Windows.