Define NOTHREADS if std:future is not available
src: Use fcntl and FD_CLOEXEC if O_CLOEXEC is undefined

We may run into race condition if execve is called at the same time
when fcntl is called.  But we just does this for now to compile
nghttp2 applications under older kernel.