fix Issue 10441 - Static libraries too big