Make build.py compatible with Python 2.6

Developer guide says compatible with 2.6 or 2.7, but this type of formatting with auto numbering was only introduced in 2.7