Fixed Makefile to create directories properly