tests: fix running on libclang <= 2.8