Fix bugs in compiler to make gosu-test compile.