Make some changes to make gcc-4.9 happy
code optimizations
Build kernel using gcc-4.9