install libffi-devel always on centos likes
move checking centos libyaml repositories to before action