Set properly the binary path that SHM calls.
Merge pull request #1862 from vonavi/shm

Set properly the binary path that SHM calls.