ui.backend.cocoa.views: fix build error on older OSX versions.