Fixes for POSIX.