BUILD: Fixed bad Cmake variable name

Signed-off-by: Gama <misept.dieseneuf@gmail.com>
BUILD: Fixed bad warning flag - fixed wrong instructions order

Signed-off-by: Gama <misept.dieseneuf@gmail.com>
BUILD: Now displaying current configuration type

Signed-off-by: Gama <misept.dieseneuf@gmail.com>