Fix classpath for compiling tests.