Fixes readline support on windows

Closes #60