Added compatibility for NET40 in both the PCL and a separate NET40 project