fixed autogen script, didnt include config.h into pcp.h
removed redundant code and fixed an invalid read of size 1 in ...unpadfour()