Ok, sorry about last posts.
 
Anyway, I've found the answer. To get tc to build properly, you need to enable QoS support and/or QoS Fair queueing in the kernel configuration.