Add special handling for node v0.6.21-pre

Fixes #509.