Add support for CentOS 7 and Ubuntu 14.10