test/build: cleanup to pass make check