Fix for chrome driver commit 85f0cdac that breaks compiling in older xserevers.