fix make unique for gcc versions