Fix net_2_0 compilation; Fix #178