Fixed #844: Create configuration header

This commit additionally contains fixes when hpx is used in conjunction
with Intel MPI.