Add ROOT_DIR makefile variable.