fix for rpm-packaging errors