fixes for raspbian