Node v0.8 compatibility. Fixes GH-3.