Darktable windows build help needed

Fixing the cmake part is easy, replace version_1 with version_2. But the lens.c part is harder.