fixes compilation errors
updates nugets
fixes build