compilation fixes (2)