Moved ATERM_ROOT to make.inc.
Added include of stdio.h.
Added ATERM_ROOT variable.