Added cross term var. setup in NLP solver export, case of external AD