[build] prepareFunctions: use token value by default