Make sure configure checks for 2.6+ and 3.3+ correctly