unpack-pbp.c bug

Currently, there is a bug in unpack-pbp.c which prevents it from compiling.
This PR fixes the bug.

Ref: #14, #11, #12, #10