Make sure same env is used across configure and build for liblzma.