fix merlin config for examples/tests dirs