Build system fixes for kncasic driver