Fix bug in parsing rc.cfg.