Adds variable functionality for ec build system.