On Windows lib/detector.js not adding trailing slash when needed.
Normalize windows paths correctly