Build against system libraries when possible
Merge pull request #3 from Cloudef/master

Build against system libraries when possible