Move generate-java builder to generate.str so that minimal project still compiles.