Fixed to work with Windows.