build: fix some more warnings.