Remove some poorly-supported POSIX types.
Simplify the platform-specific macros in posix_types_stubs.c