fix compile with 3.0 kernel