development/java-readline: Allow compiling with clang, script cleanups.