Fixed nuget build on mono

DO not merge