fix libkscreen build and remove apic generation rules that no longer apply to it