The recent MR changing the elpa m4 broke it for some cases (e.g. compiling with OpenMP, Elpa without). This fixes it.