Fix for RPM package build on SLES10, RPM dependency problems and some minor RPM bugs