Fixup for bug 1024260 because mkdir_deps can only be used after including rules.mk. r=me