Fix NET_2_0 build