fix compilation under NET_2_0
ifdef 4.0 using