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.