checking some prerequisites in make_deb
Fixed (some) build errors