add readline lib, fix ftpuse bug