Fix compile issue with prototype.