[bugfix] command line overwritten by build params

Fixed a bug that caused the command line to be overwritten by actual
build params if used.