typegen: fixup case where there is no typelist in pkg-config file.

Signed-off-by: Peter Soetens <peter@thesourceworks.com>
typelib: include missing header to get class decls.

Signed-off-by: Peter Soetens <peter@thesourceworks.com>