Avoid redefining built-in dir with variable