Adjusted build to use the lfolly instead of hard-coded /usr/local/lib path

The build breaks if you install libfolly into the standard /usr prefix instead of /usr/local, so this fixes that issue.  I also changed the build to not use .la files, since many distros strip them out, and the dynamic library path should be sufficient to find libfolly.