Fix npm entry point to lib