add --output option to build command, see -h