Added compatibility with OS X

Hello,

Just changed a phew things to be compatible with OSX.

Also added an OSX target with the same animations you already had to verify that everything works has expected.

Regards,
Paulo