Fix an issue with current readline as stated at http://lists.gnu.org/archive/html/bug-readline/2014-03/msg00005.html when some instances, especially when using parallel make jobs, will cause readline library to not include the ncurses library as a shared library.