Fixing signed/unsigned use in path.h