Fix --enable-tests with make dist