Did not check the last SDIR line for excluded algorithms.
diff --git a/Configure b/Configure
index d88ae23..b823037 100755
--- a/Configure
+++ b/Configure
@@ -509,13 +509,13 @@
 	{
 	chop;
 	$sdirs = 1 if /^SDIRS=/;
-	$sdirs = 0 unless /\\$/;
 	if ($sdirs) {
 		my $dir;
 		foreach $dir (@skip) {
 			s/$dir//;
 			}
 		}
+	$sdirs = 0 unless /\\$/;
 	s/^VERSION=.*/VERSION=$version/;
 	s/^MAJOR=.*/MAJOR=$major/;
 	s/^MINOR=.*/MINOR=$minor/;