Fixed various compilation issues with CommonObject.
Fixed various compilation issues with CommonObject.

hnafar/IronJS,fholm/IronJS,xamarin/IronJS,hnafar/IronJS,xamarin/IronJS,hnafar/IronJS,hnafar/IronJS,fholm/IronJS,fholm/IronJS,fholm/IronJS,hnafar/IronJS,xamarin/IronJS,xamarin/IronJS