[makefile] Small improvements to compile on Linux (doesn't work though...)
[makefile] Finally made the libreadline work on linux!!