add libreadline-dev
make sure we clean before building
add libafpclient