Try to detect lzma and compile without it.
Fix warning on FreeBSD.
Merge branch 'master' into detect_libs
Auto detect lzma.h.
Merge pull request #328 from ggreer/detect_libs

Detect lzma. Fix warning on FreeBSD