new libthrift to avoid "methodvisibility"error

and the calculator