fixing posix library build