Fix shell detection on firefox build
Merge pull request #716 from pyhalov/firefox-24

Fix shell detection on firefox build