CUDA 4.0 and Thrust linking error with dynamic compilation /MD option

I am getting linking errors when I try to compile my CUDA Thrust code with the dynamic DLL compile option /MD. I used to get a different linking error when I tried it with CUDA 4.0 RC as explained in this thread here. Even thought that thread suggests that this has been resolved, I still get the error LNK2005 symbol already defined. I get no error when I link using the /MT option. I can also reproduce this with the marching cubes example from the GPU computing SDK by changing the project settings to used /MD.