Fix resolver

For me the resolver in README did work on Windows and did not work on Ubuntu. This one works for both.
Merge pull request #33 from stanch/patch-1

Fix resolver fix #31