Fixed a compile bug (caused for POSIX close)