Stop building Gallery and Gallery2