fixing linux camera support.