Nuget package fixes and reference fixes.

Nuget package fixes and reference fixes.  I wasn't able to build from source with the default config for nuget.