Save rpm db in platform and sdk
Use --with-included-glib for pkgconfig

This allows us to avoid installing glib2 from yocto in the sdk, which
will conflict with our version.