updated check for .net 4.5