cleanup unnecessary kernel options, switch to -O2 optimization