compile on npm install