Add mkdir for bin in thrift compiler

Reviewed By: dcorson


git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@664922 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/compiler/cpp/Makefile b/compiler/cpp/Makefile
index b20ec3b..3d405a1 100644
--- a/compiler/cpp/Makefile
+++ b/compiler/cpp/Makefile
@@ -65,7 +65,9 @@
 LIBS = -lfl
 
 # Build directories
-obj_dirs: $(OBJ_DIR)parse $(OBJ_DIR)generate
+obj_dirs: $(BIN_DIR) $(OBJ_DIR)parse $(OBJ_DIR)generate
+$(BIN_DIR):
+	$(MKDIR) -p $(BIN_DIR)
 $(OBJ_DIR)parse:
 	$(MKDIR) -p $(OBJ_DIR)parse
 $(OBJ_DIR)generate: