Fix Makefile when build/ directory is missing