CEF added support for specifying MD as part of the cmake generation process. See https://bitbucket.org/chromiumembedded/cef/pull-requests/149/add-new-option-cef_runtime_library_flag for details.
We can remove the hack of manually editing the files now.