treating os x for its weirdness

Signed-off-by: Floyd Pink <imbleedingme@googlemail.com>