Avoid using stdlib's concat() function, to support stlib< 3.x