Fix shell detection on firefox build