Change lzma configure check to find dev header

We need the development headers as well as the library, so
checking for just the library can result in a failed build
down the line.