Hans,
SharePoint and the referred to assembly are both available in 64 bit and were at the release of SharePoint 2007. In fact, SharePoint 2010 will require 64bit.
The problem is related to the fact that Visual Studio is a 32bit process. The asp.net compiler used in the IDE is 32bit, but it is attempting to use the 64bit only assembly installed on the 64bit machine.
You can read more on the following MSDN post,
Referencing Sharepoint Assemblies on x64bit Installs causes build errors for ASP.NET apps (in VS.NET 2005). Note, the MSDN Post references VS 2005, but I can verifythe same is true in 2008 and you can read
another's comment on the same.
Tom
Tom Resing's SharePoint Blog
http://blogs.microlinkllc.com/tresing