Making the posix version compile again