OSX 10.9 complains when StrNCpy happens in place