Add rake task for running thrift compiler