Make resolver work on Windows (fix #1)