Allow to have bin directory elsewhere.
Merge branch 'configurable-bin-dir-rebased'