qml/gl: fix posix build