[canl-java] Adjust build flags.