Edit:
Ignore my post, yesterday it was too late, today it was too early...
Problem found, I tricked myself. My post-build step did copy the lib to a destination where it was found in the next build step. So the new lib was added to the old lib.
Messed around with CCS4.
/end edit
Roger