fltk: fix compilation on 10.10

Fixes #33093.
Closes #33360.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>