use strcpy, gcc 4.8 doesn't like snprintf() with an empty format string.

Fixes compilation error, `zero-length gnu_printf format string'