some build process improvements