Fixed: fail() segfaults on posix.