Change compiler flag __linux__ to __unix__ to increase compatibiliy