trivial: fix some build warnings