add support for centos

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>