Fix bug when included in multiple TU's