Add JAVACFLAGS option for build