#224 updates for /bin/sh support

following shall do for /bin/sh compatibility updates for build and test scripts