[os_execd] fix compiler warnings
[os_execd] fix CID 28574
[os_execd] add nonnull qualifiers
[os_execd] fix windows build
[os_execd] fix windows build #2
[os_execd] fix windows warnings
Merge pull request #359 from cgzones/os_execd

os_execd