Fix #659: make command_box_path.gsub pattern case-insensitive.