update tbox for msvc
update tbox for mac