Separate cond for linux
Fix error