Switch version to 3 in autotools