Fix test compilation in build.xml.

Tests depends on third party jars which only exist in the source repository,
not the kit. Separate the classpaths for source compilation and test
compilation.