Expand variables with lowercase letters

SystemUtil.ResolvePath should expand variables with lowercase letters
and underscore.
Merge pull request #1421 from StanislawSwierc/master

Expand variables with lowercase letters