build/Makefile: create the directory before creating ids.tables in the base target