ext: enhance compat of boolean options (string/bool/int)