choose the correct libs to package up in the tarball
fix typo, fixes #281
fixed tarball build on ubuntu machines

Ubuntu has a different lib directory naming convention than CentOS.
another fix for building on ubuntu