Pass termination parameter correctly.

Before it was not used, now it is passed to the build command function.