linux: Fix compilation error caused by X header.