Rename configure.in files to configure.ac

I renamed configure.in files to configure.ac, because configure.in is deprecated and unsupported in latest versions of Automake/Autoconf.