Minor first-time build improvements

When I first tried to compile, I ran into two minor issues.  The first was that build.sh runs ninja even if gyp fails, which created more output than it should have.  The second is that the ninja package is called ninja-build on debian-based systems.