cloudmonkey: fix readline issue across OSX and Linux

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>