unpack-pbp.c bug

Currently, there is a bug in unpack-pbp.c which prevents it from compiling. This PR fixes the bug. I have tested this fix and it compiles.

Closes #14, #13, #12, #11, #10, 

CC: @libcg, @artart78