More fixes for flycheck on OsX