move kernel check under modules USE