Make sure toxic compiles on MinGW/Win32 again

This PR makes toxic compile on MinGW/Win32 with pdcurses. That being said - it does not fix all the problems that exist, it just makes sure you can compile.

So what's still broken? 

* the "configdir" stuff won't compile at all if enabled
* each second a weird character is printed in the prompt, so you really have to be fast if you want to enter a command

I did not have the nerve or motivation to look into the above issues, since I actually ended up fixing the winblows build by accident while debugging a different problem. Hope some of the windowers can pick it up from here :P