Fixed issue on Blue Gene

Blue Gene was not correctly resolving some template.
I think that this fix makes the code more robust
(a posteriori, I do not understand how g++ was able
to solve the template...)