add ipopt #defines from pkg-config, closes #1010