configure.in: Fixed handling of the --with-perl-bindings option.