FIX: binstub fails to execute on SmartOS.

Propably other Unices as well.

Tested on
* SmartOS   (sh == ksh)
* Ubuntu 12.04  (sh ==dash )
* Centos 6.5 (sh == ??)