Mac os X initialization method to insure a wider IOS / Mac OS compatibility