Universal static library on mac

I have added a makefile for building the static library on mac that results in a universal binary. If at any point we do not need that unix script can still be used.