Update configure.ac wrong WARNINGS_TO_TEST expansion

$WARNINGS_TO_TEST let's configure run "-MD ..." but not expand the variable as expected.