Build-related fixes

* Create baked directory when compiling static language files.
* Remove imports for non-existent module.
* Add required key to reference config.
* Remove unnecessary test mode check.