Add osx support for python compiling.
Add osx support for python compiling.

Peilun-Li/dynet,cherryc/dynet,cherryc/dynet,Abasyoni/dynet,Abasyoni/dynet,cherryc/dynet,Peilun-Li/dynet,Abasyoni/dynet,Peilun-Li/dynet