Plugin: Fix path issues between nt and posix systems