Remove cpp files violating the one-definition rule + Fill all warnings on MSVC