Log Message: Fix a bug in the configure script that prevents it from working on NetBSD 3.0. Found by gavan@.