build: Fix "too many arguments" error

Closes #5141
Merge pull request #5007

af82884 Add "warmup mode" for RPC server. (Daniel Kraft)