rename picconf.h to config.h
s/build-debug/debug-build/g
use strndup if possible