Update build system for dist