Trick R into generating libprotobuf static library