Solved compilation problem with MacOSX