Update rakefile to support Centos