Build packages for Cortex