Error building Xbox One XDK180706

Hello, I'm having trouble building my game for XB1 with the 180706 XDK for retail mode:

Error C1047 The object or library file 'D:\...\Photon\Xb1\Common-cpp\lib\Common-cpp_release_xb1_Durango.lib' was created with an older compiler than other objects; rebuild old objects and libraries GameXb1

This only happens for Xbox One (and only with the release lib), PS4 and Switch are fine.
Am I missing something? please help!