This patch backports the upstream commit to constify target_desc. This eliminates the problems preventing us from enabling LTO.