More Linux build fixes. Removed protobuf from external except plugin binary.