Add OS X support

NSDictionary is the same in OS X, we should make this library available
on both platform