base.mk: add .d to obj-to-dep.
tweak to avoid 32 vs 64 bit (not really fully compliant, but it will do)