Fixed for running on Wine