Fix --enable-minimal=yes\no detection

Self-explained:)