move FreeTDS version check into configure script