Check for libftdi and build for android

Added check for libftdi during configure.
Suitable modifications to enable cross building for android platform.

Signed-off-by: Venkatesh Shukla <venkatesh.shukla.eee11@iitbhu.ac.in>