Fix variables

resolve problem where $NTA were set by user but ignored by the cmake script