[autoconf] Fix m4 quoting for newer autotools