Added variable functionality for ec build system.