Fix path substitution code to fix Solaris source builds

Addresses: basho/riak#439

This riak bug would also be a concern with source Stanchion builds
Merge pull request #69 from basho/bugfix/jem-solaris-runner-fix

Fix path substitution code to fix Solaris source builds