Fixed build issues related to nuget packages.