Avoid compiler error on non-OSX platforms