Fix warning

Fix warnings when doing a `build.py check`