add Makefile and build_thrift.sh, remove build.sh
output .a and .h to ./output folder