Allow dist dir to be overridden.