This is an opal test; it should include opal_config.h, not ompi_config.h.

This matters if you autogen.pl --no-ompi.