I didn't add -DLZMA_UNSTABLE to Makefile so one has to specify it manually as long as LZMA_UNSTABLE is needed.
These have more comments than the old examples and human-readable error messages. More tutorial-like examples are needed but these are a start.