make things compile with the .net 2 framework