Fix warnings in build.