fix bug in locating cmtk from wrapper script

* closes #156