Fix for Issue #2

Added <libkern/OSAtomic.h> import.
Merge pull request #3 from desdoo/master

Fix for Issue #2