Fixed dist build

@texasag please review and pull in to master