deps: [libpi] update to 0.3.1