AMF - fixed build issue with < NET 4.5