Patch up Brian's libx6 cmake file for testing.
Successfully builds with gcc 4.7.1

--BRJ