Delete cmake cache and rerun cmake config/build for your version of visualstudio(10 in my case) and system(64 in my case), isnt even founding the native libraries like type.h.
I was able to solve this problem once i had a couple of days ago, when i was managing to restore and old core, and back again to the new one.
Regards
Eilo