Update Mongoid version based on platform