Added OS X and Linux support.