import pbc from https://github.com/miaodadao/pbc, forked from https://github.com/cloudwu/pbc for Visual Studio support.