include unistd for things other than msvc