Removed POSIX-dependence.