Add centos7 and fix rpm dependencies