configure: Fix test with -Werror=implicit-function-declaration