Add C# CMAKE support, fix various issues, revert ZLIB detection