Fixed compilation for MacOS X target.