Fixed small bug with POSIX
-Frank