Use `mkdir -p` in makefile