[config] fix build: define global variable