Add nan as dependency.
Make unix code compatible with node v0.11.x.
Fix the header searching problem.