Apply all shell substitutions while parsing

Shell substitutions of library search path items were applied at the
wrong place, which could lead to unexpected results. Apply them while
parsing configuration files in the demand-loading helper's include()
function now.

Closes: #2