Fixing Jenkins execution for stable5

These changes are required to allow proper execution of stable5 on the new jenkins slaves - THX

@PVince81 @icewind1991 @MorrisJobke @LukasReschke