Fix compilation errors and check for dependencies

Hi, there were some *.c files missing in src/Makefile.am. Also, now autogen searches for libusb and libxml.