Fixed some bugs in scripts/run_test.sh and test/slcc/Makefile