fixed build.py on python 2.7 (see #100)