Fix "make dist"

"make dist" failed due to missing libraries.