Fix website distribution build errors.