Try to fix compilation on OSX.