Fixed Error for GCC 4.8+ and Mods added for More Optimization of Kernel