shouldn't we have #if defined(OS_LINUX) here ?