* fixed non-osx compilation (missing state. in the camera setup)