Fix check for XKBDIR when cross-compiling
When cross-compiling we need to check inside the sysroot and not on the host since the host might not have X11 installed.
When cross-compiling we need to check inside the sysroot and not on the host since the host might not have X11 installed.