fix another bug with non-empty MAKEOBJDIR