Make cmake colouring work with fractions