Add compiler switch for wheezy/squeeze to fix 5.1/5.6 compat