On the definition of entanglement entropy in lattice gauge theories