Add link dependencies for casadi_ipopt_interface so that it can build as a dll.

Only used when ENABLE_STATIC is false, to avoid any trouble with diamond dependencies for static libraries.