Fixed mrf compile warnings