make 1.8 compile with sip newer sip version (basically backport of @641359d3)