ffmpeg: Only include unistd.h if it exists