make a better 'api' for changing the build artifact directory