Added -p to mkdir to prevent an error message if running make for a second time.