fixed tarball build on ubuntu machines

Ubuntu has a different lib directory naming convention than CentOS.