Preventing full recompilation on configuratino change