I am reading the book "Lie Groups, Lie Algebras and Representations: An elementary introduction" by B. C. Hall. There, the author defines what is meant by (finite-dimensional) representations of Lie groups and Lie algebras.
Particularly, he states:
Definition: If $\mathfrak{g}$ is a real or complex Lie algebra, then a finite-dimensional complex representation of $\mathfrak{g}$ is a a Lie algebra homomorphism $\pi: \mathfrak{g} \rightarrow \mathfrak{gl} \left( V \right)$, where $V$ is a finite dimensional complex vector space.
Here, $\mathfrak{gl} \left( V \right)$, is identified with the Lie algebra of matrices (by choosing a basis on $V$).
Now, the definition is clear when $\mathfrak{g}$ is a complex Lie algebra. However, if $\mathfrak{g}$ is a real Lie algebra, how does this definition work? For $\pi: \mathfrak{g} \rightarrow \mathfrak{gl} \left( V \right)$ to be a Lie algebra homomorphism, it is required that $\pi$ be a linear transformation first. But since $V$ is complex, $\mathfrak{gl} \left( V \right)$ is complex and therefore, $\pi$ cannot be a linear transformation (since the domain and the codomain are defined over different fields).
To make sense of this definition, I have two things in my mind:
(1) We consider the vector space $V$ to be real but with double dimension. However, this does not really suit the needs. For then, it coincides with the definition of a real representation.
(2) We only require $\pi$ to be real-linear, instead of a (truly) linear transformation. This would make more sense since then there would be a difference between real representations and complex representations of the same real Lie algebra.
Am I on the right path to understand the concept?