Scalapack: add head.
Mumps: select compiler based on :mpi.
Ipopt: Upgrade to 3.11.7 and build fixes.

- Remove MPI compilers from environment as they crash the linker
- Apply patch if Mumps was built in parallel
- Add option to skip build-time tests.

Closes #656.