Fixes to the spec file so it builds for openSUSE, SLES11 and RHEL6