cocopro: fixed infer_ref Makefile copy-paste;
         bugs fixed through EM part of infer_ref;