Fixes for Kdenlive compilation

fixes issue #1