try to fix build issues on centos