Fix Firefox OS detection. Fix #435

Fixes the Firefox OS detection in `Config` to return a boolean.