MacOSX build script

Hi Ralf,

I want you to take look at the changes I applied to FriCAS source tree to make MacOSX build possible and scripted.

In the meantime I'll send the request for review to Waldek.

Kind regards
Krystian