Minor fixes

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