Fix build under FF31