add -lz
make install script
fix conflict with cstdlib getline