1361: allow to have required includes but optional libraries in the same dependent package