fixed Lib/ path search

This makes it work on Ubuntu 12.04
Moved looking for path in another function
Merge pull request #1 from rackerlabs/path_fix

fixed Lib/ path search