Allow ports to define statically builtin functions.

Convert unix open() to such.
Merge pull request #288 from pfalcon/port-builtins

Allow ports to define statically builtin functions.