FT-273 fix compilation on osx