Use npm prepublish script to build (Fixes GH-1)