ft2232_libftdi: perform basic configure checking when cross-compiling