Updated base.cc to export module for node 0.10.0