Updated to facilitate building NuGet package.