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