Added better check for xxd existance

Now uses find_program to check for xxds existence rather than assuming it will exist on all unix machines. Fixes #825.