add centos dependencies in setup script
fix syntax error and have a better formatting message