gcc has some problems with template resolution...