cmake: add XL C/C++ support (theoretically)

haven't tested it yet but should work in theory; maybe some adjustments necessary