Fixed absolute path detection on Windows