put txt_db.h in the right place, conditionally build strlcat/cpy
make file build order deterministic
update from upstream