Fix bug with HAS_GLOBSTAR check