enable 3.5 compatibility for 3.0