Make module compatible with CentOS