PDCurses added to compile on windows
Seperated windows specific stuff