fixing autoconf for Red Hat system