Fixed java6 build script to clean before build.