Added os.host and modified wx.scandir to use it