configure: fix syntax error with NetBSD