build script for thrift and boost libraries on mingw-w64 cross compiler.