Fixed up compilation on Posix