Build universal dynamic library (x86/x86_64) for Mac OS X.

Build universal dynamic library for OS X.
You probably want to improve this a bit?
Lipo must be used to create the fat dynamic library.