Defined the fdopendir() compatibility function.
Added ./configure options to omit optional features from the build.
Fixed a sizeof(posix::mode) static assertion failure on Darwin.