Fix typo in build.py and print-as-function bugs

build.py: junit-xml to junitxml
others: ()s for print