fixed make files to compile on centos