improve ipopt cmake compilation - WIP