fix camera compilation