Fix for building package on CentOS 7