fix readline usage on windows
Merge pull request #3 from crate/m/windows_readline

fix readline usage on windows