THRIFT-2565 autoconf fails to find mingw-g++ cross compiler on travis CI