camera: Fix compilation issues on Linux