Add workarounds for CentOS