Build lzham as a separate library to be linked against the sdk. Dependencies now build properly when missing.