Separate out kernel build phases