SYSTEM.h fix for darwin