Fixes build script for CentOS / RHEL