binarypath based on "whereis" shell command

Dear npinto,

i've modified the fix binarypath to use the whereis command to find where the binary is.

Update: oops, i have to fix this. Please not merge this.