tests: support specifying the libclang library to use