Added sys/cdefs.h
Added assert

Useful for other software, and avoids in-lining the uncommon failure
case.
Moved string declarations into string.h
Add -nostdinc to pkg-config