Do not fail to build if npm is missing when using precompiled web assets

Review 1170 by @tryneus