Fix syntax error in compile.py