build directory support in config.lua