build fix camera error