Fix false positive for registered global functions
Allow flycheck customization