[voms-api-java3] Remove EPEL5-specific cruft and use macros