cmake: Ensure that all RDT build options, and the target type, are set