Fix APM communication library