Fix the build for Qt5

Merging #3883 broke the Qt5 build, define the color in the standard
way.