Add OS X target, supported via conditional compilation