Fixed portable class library support.