Create compile directory under templates in web-config function #209