Fix uninitialized configuration constants when classes are eagerly loaded