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

This is a follow-up to #847. It adds linker dependencies for `casadi_ipopt_interface` so that it too can be built as a dll on windows.