This could come from .obj files shipped with flexdll. You could try to produce new versions of flexdll_msvc.obj, flexdll_initer_msvc.obj (and the *msvc64.obj versions) by recompiling sources with MSVC 14. Sources can be found:
https://github.com/alainfrisch/flexdll
See also the Makefile for build instructions on these .obj files.
Let us know how this goes!