Centos support

This change only adds support for redhat/centos family. I did regression test on Ubuntu and it should be noted that it will fail on Ubuntu 12.04 because the ffmpeg compile requires yasm 1.2 and the cookbook only install yasm 1.1 on Ubuntu 12.04. But I don't believe the Ubuntu/yasm failure is due to these changes.