Fix paths to core files