fixed compilation on non-redhat linux