Set right classpath for tests.
Fix error in compile.sh.