configure.ac: use the right quoting for the date check

Fixes one issue in #671519