Expand variables with lowercase letters

SystemUtil.ResolvePath should expand variables with lowercase letters
and underscore.