get cross compile working of protobuf