Compile programs with rpath
Pass variable-configuration to output instead of configuration

The same configuration can be used for two different variables. To uniquely distinguish
these, the variable name is attached to the configuration before being passed to the
output.