Make CLI work on Windows.