gui: Fix another C++11 issue.

Picked up by more recent compilers.