compile a fat library that can be used on device and simulator alike (fix for #9)

fixes issue #9 

probably needs some more testing / review....but it works :D