retreat and undo: update ntl to latest version 6.0.0

some template functions used by factory are not instantiated