setup shared library for NuGet package fix a couple things with offset detection calc get cod4x working again