Generate cc reference libraries