Revert "Merge pull request #774 from jacobgardner/cmake-fix"

This reverts commit 9bbdb3441e0295e4160fc198b4cb0f71019c1b59, reversing
changes made to 218bdcf1ecfb6fe1b0ace6fa3a81317da815bf11.

this has been fixed already in main cmake-development branch to use the
bundled libs not link against system libs (for consistency)