- fix compilation on osx