Fixes for building kernel with gcc 4.9.x

Signed-off-by: dragon <dragon7780@hotmail.nl>