misc fixups

collected a few fixup, eg. for build/install process