OSPL-2787 Correct generation of SACPP/ISO C++ custom libs rebuild files.

(cherry picked from commit 5f2059ca235c15c99d929beeb803ceba0d138e5e)