Add support for .net 4.0