Remove warnings for sip by using new syntax (sip 4.12+)