fix wrong call to std::push
fix missing include unistd