GCC14 has started to complain about sloppily written configure tests. Update them so the code snippet is valid according to GCC14. Signed-off-by: Chris Packham <judge.packham@gmail.com>