Changing kernel compilation mode