The following symlinks are necessary for the pre-processor and software to find the X11 files.
Create the /usr/include/X11 symlink by running:
cd /usr/include
ln -s ../X11R6/include/X11 X11
Create the /usr/X11 symlink by running:
cd /usr
ln -s X11R6 X11