build error fixes