native: remove some warnings about undef functions

This PR implements `real_X` for `X in (fork, dup2, unlink, execve)`.
These function caused warnings while making the default example.
Merge pull request #1332 from Kijewski/native-fix-warnings-in-default

native: remove some warnings about undef functions