Fixed compilation issues for kernel 3.15