Centos6 fix

Update code to run under CentOS6