Fix #ifdef XP_UNIX && !defined( __APPLE__), it should be #if defined(XP_UNIX) && !defined( __APPLE__)