Namespace protection for dependencies to avoid link time inconsistencies