Fix X11 proxy constant lookup under 1.9+