build: fixed 'make dist' without configuring