Windows compatibility fixes

Several small changes to the wxconsole, srtm and slipmap modules to make them work under Windows environments.