Add a definition dir variable