Fixes #348, shim config with a file that has a define was not getting adapter define written
snapshot