Building on Windows Python X64 link error

I am trying to build on windows but get the following error when I run BuildSetup.bat

“C:\Development\Github\xbmc\kodi-build\ALL_BUILD.vcxproj” (default target) (1) ->
“C:\Development\Github\xbmc\kodi-build\kodi.vcxproj” (default target) (9) ->
(Link target) ->
python27.lib(python27.dll) : fatal error LNK1112: module machine type ‘x64’ conflicts with target machine type ‘X86’
[C:\Development\Github\xbmc\kodi-build\kodi.vcxproj]

532 Warning(s)
1 Error(s)

Any ideas?