prevent re include in case of name(spaced) conflicts

There are cases where a namespaced class can map to a non namespaced class,
while this should not happen anyway, it is cruel to debug when it actually happens.