[build-system] Remove unused variables.