fixing shm elements for osx
video reader working on osx
fix video reader exampole CFLAGS on linux