Fix "make dist"

"make dist" may failed due to missing libraries.