remove inline keyword from strncpy_nt() since it breaks compiling with clang and doesn't change the end result anyway