fixed compilation on fedora