Fixed compilation issue with new sip version (Reported by Andrea Parenti)