CODE: Make build.py flush printed messages