Remove the root path correctly under Windows