skip readline repl
casts, ifdefs, and remove unistd header already included in repl.h