Fixes Bug 1032030, hint errors in build/test/integration/build.test.js r=yurenju

remove `-W020` and fix issue for `matches`.