Fix build for net35