- set CPPFLAGS to java include dirs, so that the java bindings build with any java implementation (#498964) - add --without-curses; there is no curses package BuildRequired anyway