Make it compile on linux with strncpy