Update BuildBase.py

Removing unnecessary code.