More fixes to buildbug script. Bump version to 0.1.7