Fix build for X11 modifier masks