fix rpm build break from moving functions.sh location.
Merge pull request #330 from axsh/feature-vdcsh-modulesfile

Follow up PR to fix packaging failure of #329