fix build failures with GCC 12 and without IPopt

Merge request reports

Loading