some fixes for the rpm-bulding;