Platform: fix compilation of WindowlessCglApplication.