Fixes #4 by properly handling non-Node (Rhino) compilation.