Fix inclusion of debug information for the separate compile/link mode.