Instead of using a fixed value for the rebuild option just key off the last argument.  Makes it easier to expand the build_parameters option for future work