Use local type declaration for POSIX standard type only for MS compiler