Made fixes needed to support sunspider.