LCFG: A Practical Tool for System Configuration