Expose keep_build to the command line

This allows the user to specify the keep_build argument, thus whether the build
directory should be always kept, never kept (currently the default) or only
kept on error.