Compile and warning fixes for Visual Studio 2013 and x64
Eliminate memory allocations from Dagger.eval.