re-added DIST in repack_env for linux