Fixed debian compile errors