native: OSX: Fix rpl_udp example

* rename `isnumber` to `is_number` in `sc_net_if.c`
* undefines the macros clang complains about and reorders some header includes needed.

Fixes #1165