[compat] make it work with node 0.8 for now