Ipopt: Added an environment variable that enables building using the new GCC

The configure script only checks for a specific version to enable a fix in
finding cstdlib and cstring.