fix compilation for ktt