osx mavericks fails assertion when strcat has overlapping arguments.. hence memstrcat.