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