fix compile proto dependency