cmake: scdoc - add headers and fix warnings