meson: remove unnecessary array joins, add configure line
Removes unnecessary array joins now that we require a new enough meson version
to use arrays directly for the prefix
kwargs.
Also adds the configure line to config.h like we do in autotools.
Edited by Marvin Scholz