Make micropython build on OpenBSD.

The following commits allow micropython to build on OpenBSD.

Among other things, fixes #27.