fix generating pkg-config files with empty -I directives (fix #445)
add prefix to generated pkg-config files (fix #444)