set_fifo_mode and set_uart_mode don't need -lftdi and -pthread,
sample_grabber doesn't need -lftd2xx