fix videodisplay detction  on osx (was always disabled)