Fixed Makefile to create output dir if it does not exist.