fixed bug that prevented webcam from working on linux