separating linux and windows by :
if defined(__linux__) || defined(LINUX) || defined(__APPLE__) || defined(ANDROID)