[patch 2/2] Fix loading core files without build-ids