Fix C++11 issues.
gui: Fix another C++11 issue.

Picked up by more recent compilers.