Fix @builddir references in x64 VS builds.

Instead of hardcoding the configuration, use $(IntDir) variable. This
expands to e.g. "x64\Debug" in 64bit builds and e.g. "Debug" in 32bit
ones.