make cores an external dependency