added sndio support