Unable to build JOGL source on Win64

I’m building the JOGL source tree on 64 bit Windows and I’m getting the following message:

[cc] WindowsDynamicLinkerImpl_JNI.obj : fatal error LNK1112: module machine type ‘X86’ conflicts with target machine type ‘x64’

I’m aware of what it means (trying to link 32 bit objects into a 64 bit DLL) but I’m unclear on how to cure this, or even if it’s a bug in the build scripts. Using MSVC8.