working lmd build