Fixes for Gingerbread and Ice Cream Sandwich

I managed to get node.js 0.10.25 to work on Gingerbread and Ice Cream Sandwich.