Made it compile and build under Mac OS. At first sight everything works fine.