Remaining portion of the java patch
enable parallel build