Fix #59, update to latest Nan version as 0.11.13 introduced some breaking changes
Fix #59, small change for node <0.11