transform app.config to correct filename (dll.config or exe.config) depending on project type