Optimize kernel build flags

Change-Id: I08a82e2eb6fc13c1b89fb99f8ed4a9cbcc383491