FIX: binstub fails to execute on SmartOS.

Propably other Unices as well.

Tested on
* SmartOS
* Ubuntu 12.04
* Centos 6.5

DIR="$(cd -P "$(dirname "$SOURCE")" && pwd)"