Add --config switch to build and serve commands.