workaround for node 0.6 (https://github.com/npm/npm/issues/4391)