Minor fixes

nothing serious, as usual ;-)

they all came up during cleaning up of the typelib-clang-importer (which did its first full-rock-build today!)