Support 'library' feature test in cond-expand