Make the tests run with Python 3.x. * build/check.py: Add parentheses around 'print' statement arguments so that they work when 'print' is a function.