Fixes Undefined References
For XLIB
Merge pull request #491 from RobertBColton/master

Fixes Undefined References