Fix errors in web project build.