enh: fixed build-problems with multiconfig-build
Fixed return => exit statements. Return is only available in functions.
Added options for the script. Added checks that GRIDXC_PREFIX and LIBXC_ROOT are set. Added option to not build the MPI variants. Added storage of check-output.