Added option to specify -bindir- if not atuo-detected.